/*********************************************************************
	Rhapsody	: 7.5 
	Login		: kbe
	Component	: DefaultComponent 
	Configuration 	: CodeConfig
	Model Element	: ServiceHandler
//!	Generated Date	: Thu, 27, Sep 2012  
	File Path	: DefaultComponent\CodeConfig\ServiceHandler.h
*********************************************************************/

#ifndef ServiceHandler_H
#define ServiceHandler_H

//#[ ignore
#ifdef _MSC_VER
// disable Microsoft compiler warning (debug information truncated)
#pragma warning(disable: 4786)
#endif
//#]

//## auto_generated
#include <oxf\oxf.h>
//## auto_generated
#include <string>
//## auto_generated
#include <algorithm>
//## auto_generated
#include "SOCK_WrapperFacade.h"
//## auto_generated
#include "Default.h"
//## class ServiceHandler
#include "EventHandler.h"
//## auto_generated
class Reactor;

//## package Default

//## class ServiceHandler
class ServiceHandler : public EventHandler {
    ////    Constructors and destructors    ////
    
public :

    //## auto_generated
    ServiceHandler();
    
    //## auto_generated
    virtual ~ServiceHandler() = 0;
    
    ////    Operations    ////
    
    //## operation handleEvent(HANDLE,Event_Type)
    virtual int handleEvent(HANDLE h, Event_Type& et) = 0;
    
    ////    Additional operations    ////
    
    //## auto_generated
    SOCK_Stream* getPeer_stream_() const;
    
    //## auto_generated
    void setPeer_stream_(SOCK_Stream* p_peer_stream_);
    
    ////    Attributes    ////

private :

    SOCK_Stream* peer_stream_;		//## attribute peer_stream_
};

#endif
/*********************************************************************
	File Path	: DefaultComponent\CodeConfig\ServiceHandler.h
*********************************************************************/
